/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-04 16:59:10
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-04 17:25:46
 */
import java.util.Arrays;
public class TestSt3 {
    public static int[] getDoubleArray(int[] arr3){
        int[]array3 =new int[arr3.length*2];
        System.arraycopy(arr3,0,array3,0,arr3.length);
        return array3;
    }
    public static void main(String[] args){
        int arr3[] ={1,2,3};
        System.out.println("两倍长度array3:"+Arrays.toString(getDoubleArray(arr3)));

    }
}
